{include file="pageheader.htm"}
{insert_scripts files="validator.js"}
<form action="banner.php" method="post" enctype="multipart/form-data">
<div class="main-div">
<table cellspacing="1" cellpadding="3" width="100%">
  <tr>
    <td class="label">Banner标题</td>
    <td><input name="title" type="text" value="{if $one.title}{$one.title}{/if}" size="40" /></td>
  </tr>
  <tr>
    <td class="label">Banner</td>
    <td><input type="file" name="img" value="" id="some_name" size="40" />
    <br /><span class="notice-span" {if $one.img}style="display:block" {else} style="display:none" {/if} id="width_height"><img width="300px" src="../{$one.img}" /></span>
    </td>
  </tr>
  <tr align="center">
    <td colspan="2">
      <input type="hidden"  name="id"       value="{$one.id}" />
      <input type="hidden"  name="act"       value="{$form_action}" />
      <input type="submit" class="button" name="Submit"       value="{$lang.button_submit}" />
      <input type="reset" class="button"  name="Reset"        value="{$lang.button_reset}" />
    </td>
  </tr>
</table>
</div>
</form>
<script type="Text/Javascript" language="JavaScript">
<!--
onload = function()
{
    // 开始检查订单
    startCheckOrder();
}
//-->
</script>
{include file="pagefooter.htm"}